package com.szpx.service;

import com.szpx.entity.News;

import java.util.List;


public interface NewsService {

    News createNews(News news);

    News updateNews(News news);

    boolean deleteNewsById(Integer id);

    News getNewsById(Integer id);

    List<News> getAllNews(News news);

}
